package com.novice.backend.controller;

import cn.hutool.core.date.DateUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class TestController {
   @GetMapping("/test")
    public String test() {
       log.info("测试日志打印-"+DateUtil.now());
        return "测试日志打印-"+DateUtil.now();
    }
}
